<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
          * {
            margin: 0;
            padding: 0;
        }

        .box {
            width: 1200px;
            height: 320px;
            padding-left: 20px;
            margin: 80px auto;
            overflow: hidden;
        }
        .one {
            width: 230px;
            height: 370px;
            text-align: center;
            margin-right: 20px;
            float: left;
            position: relative;
            overflow: hidden; 
            transition: all .5s; 
        }

        img {
            transition: filter 1s ease;
        }

        .one:hover img {
            filter: brightness(0.7);
        }
        .gc {
            position: absolute;
            left: 0;
            bottom: -80px;
            width: 100%;
            height: 200px;
            color: white;
            line-height: 40px;
            font-size: 18px;
            transition: all .5s;
            text-align: center;
            opacity: 0;
        }
       
        .one:hover {
            top: -5px;
            box-shadow: 0 0 15px #AAA;
        }

        .one:hover .gc {
            bottom: 10px;
            opacity: 1;
         
        }
        .box img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="one">
            <img src="./老胡来也_23级H5CSS3练习_files/APT1.jpg" alt="">
            <span class="gc">《APT》<br>演唱： ROSIE/Bruno Mars<br>아파트 아파트，<br>아파트 아파트,</span>
        </div>
        <div class="one">
            <img src="./老胡来也_23级H5CSS3练习_files/otg.jpg" alt="">
            <span class="gc">《On the ground》<br>演唱： ROSIE<br>On the ground, <br>Everything I need is on the ground,</span>
        </div>
        <div class="one">
            <img src="./老胡来也_23级H5CSS3练习_files/GONE.jpg" alt="">
            <span class="gc">《GONE》<br>演唱： ROSIE<br>My love is gone too, <br>All my love is gone,</span>
        </div>
        <div class="one">
            <img src="./老胡来也_23级H5CSS3练习_files/htl.jpg" alt="">
            <span class="gc">《hard to love》<br>演唱： ROSIE<br>When it  feels too good,<br>I just  f**k it up,</span>
        </div>
    </div>
</body>
</html>